<template>
	<view class="search">
		<p-navbar title="搜索跟单发起人" ></p-navbar>
		<view class="search-input">
			<view class="search-flex">
				<image class="search-image" src="../../static/search.png" mode="aspectFill" />
				<input type="text" placeholder-style="color:#A6ADB4;" placeholder="输入跟单发起人名称" @confirm="confirm"/>
			</view>
			<view class="search-btn">搜索</view>
		</view>
		<!-- 内容 -->
		<documentarypolpe class="" :list.anyc="list"/>
		
		<view class="search-foller">
			<view class="">1.跟单数据实时更新，历史表现不能代表未来收益；</view>
			<view class="">2.年化收益率较低的数据将不会被展示在列表中；</view>
			<view class="">3.市场有风险，投资需谨慎。</view>
		</view>
	</view>
</template>

<script>
	import documentarypolpe from './components/documentarypolpe.vue'
	export default {
		components:{
			documentarypolpe
		},
		data() {
			return {
				list:[
					{
						name:'网格交易',
						num:10589,
						center:'Huobi'
					},
					{
						name:'马丁追踪',
						num:10589,
						center:'Banian'
					}
				]
			};
		},
		methods:{
			confirm(e){
				console.log(e.target.value)
			},
		}
	}
</script>

<style lang="scss" scoped>
	.search{
		margin: 30rpx;
		font-size: 28rpx;
	}
.search-input{
	@include flex;
	justify-content: space-between;
	border: 1rpx solid #e0e0e0;
	border-radius: 44rpx;
	line-height: 70rpx;
	padding: 0rpx 30rpx;
	.search-flex{
		@include flex;
		.search-image{
			width: 35rpx;
			height: 35rpx;
			margin-right: 15rpx;
		}
		input{
			font-size: 26rpx;
		}
	}
}
.search-btn{
	color: $light-color;
	font-size: 28rpx;
}
.search-foller{
	padding: 50rpx 0rpx 0rpx;
	font-size: 24rpx;
	// font-weight: bold;
	color: $color-fu;
}
.contract-center{
		@include flex;
		background-image: url(../../static/goods2.png);
		@include background;
		padding: 40rpx 20rpx 20rpx;
		margin-top: 30rpx;
		.contract-w1{
			@include flex;
			width: 70%;
		}
		.contract-w2{
			// @include flex;
			width: 30%;
			text-align: right;
			
			.w2-text{
				line-height: 60rpx;
				font-size: 32rpx;
				font-weight: bold;
			}
			.w2-text1{
				line-height: 40rpx;
				font-size: 24rpx;
				color: $color-fu;
				font-weight: 400;
			}
		}
		.center1{
			padding-right: 30rpx;
			image{
				width: 80rpx;
				height: 80rpx;
				border-radius: 50%;
			}
		}
		.center2{
			.center2-item1{
				font-size: 32rpx;
				line-height: 60rpx;
				text{
					padding: 20rpx;
					color: $color-fu;
					font-size: 24rpx;
				}
			}
			.center2-item2{
				color: $color-fu;
				font-size: 24rpx;
				line-height: 35rpx;
				 text-overflow: -o-ellipsis-lastline;
				  overflow: hidden;
				  text-overflow: ellipsis;
				  display: -webkit-box;
				  -webkit-line-clamp: 2;
				  line-clamp: 2;
				  -webkit-box-orient: vertical;
			}
		}
		
	}
	.center-flex1{
		@include flex;
		justify-content: space-between;
		background-color: $color-bg;
		border-bottom-left-radius: 18rpx;
		border-bottom-right-radius: 18rpx;
		padding: 10rpx 40rpx ;
		font-size: 24rpx;
		// color: rgba(255, 255, 255, 0.45);
		.flex1{
			@include flex;
			image{
				width: 40rpx;
				height: 40rpx;
				border-radius: 50%;
				margin-right: 15rpx;
			}
		}
	}
</style>
